import Mock from 'mockjs'

const count = 3
const List = []

//mock数据count条
for (let i = 0; i < count; i++) {
  List.push(Mock.mock({
    id: "@increment",
    title: "@ctitle(2,10)",
    img: "",
    content: "@cparagraph(10,1000)",
    'approvalTxt|0-1000': 3,
    'comment|0-1000': 2,
    blockingReason: [
      {reason: '@cword(2,6)'},
      {reason: '@cword(2,6)'},
      {reason: '@cword(2,6)'}
    ]

  }))
}

export default {
    initList(){
      const pageList=List
      return {
        items:pageList
      }
    }
}
